package org.devastra.arcinspect.plan.data;

public class GridLocation {
	private Module module;
	private Layer layer;
	
	public GridLocation(Module _module, Layer _layer) {
		module = _module;
		layer = _layer;
	}
	
	public Module getModule() {
		return module;
	}
	
	public Layer getLayer() {
		return layer;
	}
	
	public int getModulePosition() {
		return module.getPosition();
	}
	
	public int getLayerPosition() {
		return layer.getPosition();
	}
	
	public int getAggPosition() {
		return getModulePosition()*100 + getLayerPosition();
	}
}
